CustomDpEntry

data class CustomDpEntry(val uiModeType: UiModeType? = null, val dpQualifierEntry: DpQualifierEntry? = null, val orientation: Orientation? = Orientation.DEFAULT, val customValue: ERROR CLASS: Symbol not found for Dp, val finalQualifierResolver: DpQualifier? = null, val priority: Int, val inverter: Inverter? = Inverter.DEFAULT)

EN Represents a custom dimension entry with qualifiers and priority. Used by the DimenLogarithmic class to define specific values for screen conditions.

PT Representa uma entrada de dimensão customizada com qualificadores e prioridade. Usada pela classe DimenLogarithmic para definir valores específicos para condições de tela.

Parameters

uiModeType

The UI mode (CAR, TELEVISION, WATCH, NORMAL). Null for any mode.

dpQualifierEntry

The Dp qualifier entry (type and value, e.g., SMALL_WIDTH > 600). Null if only UI mode is used.

orientation

The screen orientation (LANDSCAPE, PORTRAIT, DEFAULT).

customValue

The Dp value to be used if the condition is met.

finalQualifierResolver

Optional dimension qualifier (e.g., HEIGHT) to be applied at resolution time.

priority

The resolution priority. 1 is more specific (UI + Qualifier), 3 is less specific (Qualifier only).

inverter

The inverter type to adapt scaling width/height on rotation changes (default is Inverter.DEFAULT).

Constructors

Link copied to clipboard
constructor(uiModeType: UiModeType? = null, dpQualifierEntry: DpQualifierEntry? = null, orientation: Orientation? = Orientation.DEFAULT, customValue: ERROR CLASS: Symbol not found for Dp, finalQualifierResolver: DpQualifier? = null, priority: Int, inverter: Inverter? = Inverter.DEFAULT)

Properties

Link copied to clipboard
val customValue: ERROR CLASS: Symbol not found for Dp
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard